@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  font-size: 14px;
  color: rgb(30, 30, 30);
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

.fl{
  float: left;
}

.fr{
  float: right;
}

// main-container global css
.app-container {
  padding: 20px;
}

/* 修复input 背景不协调 和光标变色 */
/* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
$cursor: #fff;
$bg:#283443;

@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .el-input input {
    background: transparent;
    border: 0px;
    -webkit-appearance: none;
    &:-webkit-autofill {
      box-shadow: 0 0 0px 1000px $bg inset !important;
      -webkit-text-fill-color: $cursor !important;
    }
  }
}

.line {
  height: 10px;
  background-color: #DDDDDD;
}

input::-ms-clear{display: none;}
input::-ms-reveal{display: none;}

input {
  background: transparent !important;
  -webkit-appearance: none !important;
}

i,span,em{
  font-style: normal;
}
div{
  box-sizing: border-box;
}


// ---------------自定义样式---------------
.msg-dialog {
  .content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 10px;
    .icon {
      font-size: 70px;
      margin-bottom: 15px;
    }
    .title{
      font-size: 18px;
      margin-bottom: 15px;
    }
    .tips{
      line-height: 25px;
      font-size: 14px;
    }
    .success{
      color: #3daf7f;
    }
    .paying{
      color: #568bfa;
    }
    .error{
      color: #f56450;
    }
  }
}
